<!--
 * @Author: huangyq
 * @Date: 2022-03-31 14:25:39
 * @LastEditTime: 2022-04-25 15:46:13
 * @LastEditors: huangyq
 * @Description: 挂载页面
 * @FilePath: /vue3-boilerplate-pc-client/src/App.vue
-->

<template>
  <el-config-provider :locale="locale">
    <router-view />
  </el-config-provider>
</template>
<script lang="ts" setup>
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'
const locale = zhCn
</script>
<style lang="scss">
html,
body {
  width: 100%;
  height: 100%;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  width: 100%;
}
</style>
